package com.yuanlrc.hotel.restaurant.domain;

import com.yuanlrc.common.annotation.Excel;
import com.yuanlrc.common.core.domain.BaseEntity;
import com.yuanlrc.hotel.restaurantPicture.domain.RestaurantPicture;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.util.List;

/**
 * 餐厅管理对象 ylrc_restaurant
 * 
 * @author yuanlrc
 * @date 2020-11-19
 */
public class Restaurant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 餐厅名 */
    @Excel(name = "餐厅名")
    private String name;

    /** 餐厅图片 */
    @Excel(name = "餐厅图片")
    private String restaurantPic;

    /** 餐厅描述 */
    @Excel(name = "餐厅描述")
    private String describ;

    private List<RestaurantPicture> list;

    public List<RestaurantPicture> getList() {
        return list;
    }

    public void setList(List<RestaurantPicture> list) {
        this.list = list;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setRestaurantPic(String restaurantPic) 
    {
        this.restaurantPic = restaurantPic;
    }

    public String getRestaurantPic() 
    {
        return restaurantPic;
    }
    public void setDescrib(String describ) 
    {
        this.describ = describ;
    }

    public String getDescrib() 
    {
        return describ;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("restaurantPic", getRestaurantPic())
            .append("describ", getDescrib())
            .toString();
    }
}
